home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
compress
/
arcd096b.zip
/
ARCDOC.DOC
< prev
next >
Wrap
Text File
|
1992-08-15
|
48KB
|
1,061 lines
T H E L A S T W O R D I N U P L O A D F I L E P R O C E S S I N G
ArcDoctor v0.96ß
Copyright(c), 1992
-=RyanWare=-
Melbourne, Florida
Support:
Flamingo BBS .... (407)253-0782
US ROBOTICS Dual Std. 1200-16800 baud
FidoNet@USA ... (1:374/46)
SnailMail ...... 1061 Ellen Ct.
Melbourne, Fla. 32935
ii
ArcDoctor Overview
* Totally automated - no user intervention required.
* Open up any archived file - even if it has an erroneous extension.
* Convert any archive to any other archive format. (Requires Registration)
* Performs all processing on recursive archives. (Requires Registration)
* Seek out and delete "The Draw" .COM files from archives. (Req. Regist.)
* Scan all uploaded files for viruses - Archived or not.
* Remove any unwanted file names from within archives - Wild cards accepted.
* Refuse uploads based on file name - Wild cards accepted.
* Refuse uploads based on age.
* Insert any file(s) into all processed archives.
* Remove ARJ and ZIP comments from all ARJ and ZIP format archives.
* Add ARJ and ZIP comments to all ARJ and ZIP format archives.
* Support past, present and future archive engines via external declarations.
* User definable actions on a per archiver errorlevel bases.
* Moves or deletes files that fail processing.
* Keep a detailed journal of all processing.
* All features are fully configurable.
* Support a RAM disk.
Coming in version 1.0
* Support for SFX files.
* Support graphics file conversions.
* Support TeleDisk .TD0 files.
* Create Fido/Opus style .MSG report of ALL -or- BAD U/L's
Perfect for May Be Used In
* Bulletin Board Systems. * BBS upload batch files.
* Bulletin Board Users. * BBS upload auto-doors.
* Shareware Distributors. * BBS nightly events.
* Network Systems. * Total directory/system conversions.
* Corporate Use. * Total directory/system checks.
* End user's com batch file. * Disk content certification.
ArcDoctor Flavor (ADFLAVOR.EXE) Overview
* Search and Replace all converted "from" archive extensions to your Default.
* Uses ArcDoc.Cfg for ease of use.
* User selectable file display format.
* Works on ASCII text files, such as FILES.BBS.
* Works on structured data files such as Searchlight and WildCat! data files.
View Settings ArcDoctor (VSETARCD.EXE) Overview
* Reads ArcDoc.Cfg.
* Verifies declared filenames and paths.
* Validates COMPRESS.CFG setting.
* Notifies you of potential problems in your ArcDoc.Cfg.
* Displays all ArcDoctor settings on one screen.
iii
T A B L E O F C O N T E N T S
Acknowledgments / Licensing Agreement................... 1
What's in this package ................................. 2
Introduction to ArcDoctor .............................. 2
Quick Start ............................................ 3
Configuration Files .................................... 4
ArcDoc.Cfg .......................................... 4
Compress.Cfg ........................................ 9
ErrorLev.Def ........................................ 11
Using ArcDoctor with Tele-Com Programs ................. 14
Using ArcDoctor with Bulletin Board Systems ............ 15
Using VSetArcD ......................................... 16
Using ADFlavor ......................................... 17
Index .................................................. 18
Bug Reports and Suggestions............................. 19
Registration ........................................... 20
Page 1
Special Thanks
--------------
I would like to express special thanks to the following beta testers for
their time and trouble:
Operator BBS System Fido Location
----------------------------------------------------------------------------
Greg Belanger SLBBS Late-Night 134/48 Calgary, Alta, Can.
Genie Bohn SLBBS Flamingo 374/46 Melbourne, Fla.
Bill Booth PCB14.5 Paradise Theater N/A Cocoa, Fla.
John Carrol RA Treasure Coast 374/569 Vero Beach, Fla.
William Herrington RA SaddleBag 374/38 Satellite Bch, Fla.
Juan Perez SLBBS Trojan Express 3609/5 West Palm Bch, Fla.
Jerry Russell TBBS Tech-Talk 374/1 Titusville, Fla.
A special thanks to Frank LaRosa for writing the (IMHO) finest BBS software
on the market today: Searchlight
Dedicated to all of the SysOps out there who's hard work on their BBS' goes
unnoticed - EXCEPT when something doesn't work <Grin>.
Acknowledgments
---------------
The following are trademarks of their respective holders:
ARC, ARJ, ICE, LZH, LHA, PAK, PKZIP ,PKUNZIP, ZOO, TheDraw, TeleDisk,
ScanV, Fido, Opus, Searchlight, PC Board, Remote Access, TAG, TBBS,
WildCat!, Maximus, GIF, JPEG, DoorWay.
Any omission of others mentioned in this documentation and relevant
material is only an oversight and in no way is intended to imply lack
of recognition of the said trademark.
Usage agreement
---------------
You are granted a thirty day permit to evaluate this software on the
condition that you understand "usage" of ArcDoctor is a legal
acknowledgment and acceptance of this agreement. After which time,
your free evaluation period ends. If you continue to use this software
beyond the thirty days, you *MUST* register ArcDoctor.
Page 2
Packing List
------------
README! ........ If included, this document will have any late breaking
information that didn't make it to this document by the
release date.
ARCDOC.EXE ..... This is the main executable program.
VSETARCD.EXE ... Debugging utility for ArcDoc.Cfg.
ADFLAVOR.EXE ... Directory maintenance for all BBS file lists.
ARCDOC.CFG ..... Main configuration file for all of ArcDoctor's options.
COMPRESS.CFG ... Maximus standard archiver configuration file.
ERRORLEV.DEF ... -=RyanWare=- standard archiver error action config file.
HISTORY.TXT .... Development history, bug fixes for ArcDoctor.
ARCDOC.DOC ..... This document.
Introduction to the ArcDoctor Files
-----------------------------------
ARCDOC.EXE Was designed to operate with a simple command-line - no switches
required. This program is a powerhouse in a small package. Once
configured for your system, ArcDoctor may be run from the command
line, communications program batch files, file transfer protocol
batch files, BBS file processing events, maintenance events, etc.
VSETARCD.EXE Was initially developed to aid -=RyanWare=- in the development
of ArcDoctor - This program gave a way to evaluate the status
of the complex arrays of data in memory while ArcDoctor was
running. It has been modified to evaluate your configuration
(ArcDoc.Cfg) and compare those settings to your system. Thus
minimizing the chances of fatal errors caused by configuration
errors.
ADFLAVOR.EXE Is a new addition to version 0.96ß. Still in it's infancy,
when fully developed, this program will contain a total user
interface for ArcDoctor. Presently, contained in ADFlavor is
a search and replace function to facilitate conversions of
entire archive directories. This program simply edits BBS
file lists to reflect the SysOp's chosen archive format - thus
making it simple and safe to convert entire directories to a new
archive format.
ARCDOC.CFG The dreaded config file... great care has gone into this file
to facilitate a truly forgiving configuration file that contains
it's own documentation.
COMPRESS.CFG Is a standard Compress.Cfg file as per the standard established
by Maximus BBS and has been adopted by several of the mail
tossers on the market to date. Used to define archive engines,
thus future archivers will not make ArcDoctor obsolete.
ERRORLEV.DEF Is released into the public domain by -=RyanWare=- in hopes
of filling the gap in information supported by Compress.Cfg.
This file contains much the same format as Compress.Cfg, but
is used to declare errorlevels reported by archive engines.
Declarations include archive name, the errorlevel, action to
be taken, and a display string.
Page 3
Quick Start
-----------
ArcDoctor was designed for simplicity of use and through file evaluations.
Presently, you will not find all of the features in ArcDoctor in any other
program on the market. The power is HERE! Setup should be rather pain
free for you. You only need to edit ArcDoc.Cfg to be up and running.
You will need to place ARCDOC.CFG, ERRORLEV.CFG and ARCDOC.EXE in the
same directory in your DOS path. It is recommended that you also place
COMPRESS.CFG in the same directory, though not required - If you run
Maximus BBS, Squish mail tosser, or another program that uses Compress.Cfg,
you may optionally declare a path for Compress.Cfg in ArcDoc.Cfg.
ArcDoc.Cfg is a fully commented and self-documented file. You should be
able to edit ArcDoc.Cfg with little or no trouble, if you know how to read
and use an ASCII text editor. If you do not fully understand what a keyword
in ArcDoc.Cfg does, simply comment it out (put a semi-colon ";" in front of
it), then later refer to this document for more information. If you still
do not understand something, please, feel free to contact me at one of the
locations listed on the cover page of this document.
Once you have tailored ArcDoc.Cfg to you system, you should run VSETARCD.
VSetArcD will read ArcDoc.Cfg and Compress.Cfg into RAM, check to verify all
declared paths and filename, and then display the results to your screen.
If you have an invalid entry in either of the included CFG files you will
be notified by VSetArcD.
Currently ARC, ARJ, LHA, PAK, PK(UN)ZIP, and ZOO archive formats are declared
in Compress.Cfg. All but ZOO are declared in ErrorLev.Cfg - I could find
no documentation on ZOO. ArcDoctor expects to find all of these utilities
somewhere in your DOS path statement. If one of these utilities is missing,
from your DOS path, VSetArcD will signify that the declared archive engine
(in Compress.Cfg) is NOT in your DOS path by placing an asterisk "*" in front
of the archiver's name on the "Available" line. Should this occur, be sure
to remedy the problem - preferably by locating a copy and putting it in your
DOS path.
If all checks out okay with VSetArcD you are all set to run ArcDoctor from
the command-line or install ArcDoctor in the way(s) that best suits your
system's software. We use ArcDoctor to process new uploads as they come in.
Other systems are using ArcDoctor to process SND files with their front ends.
Another option is to set ArcDoctor up as an external maintenance event.
Creating a batch file for your tele-com program that runs ArcDoctor in your
new d/l's directory then moves the files to a verified directory is another
useful way of setting up ArcDoctor.
Page 4
Configuration Files Guide
-------------------------
ArcDoc.Cfg
----------
Edit ARCDOC.CFG to suit your needs. This file is not case sensitive.
Blank lines will be ignored. Lines beginning with semi-colons ";" will be
ignored. Your default archive statement (ConvtDefault) *MUST* come after
ArcDataPath, if ArcDataPath is declared, other than that, Keywords/commands
may come in any order.
ArcDataPath <drive>:\<directory>
Full DOS path to COMPRESS.CFG. This declaration is optional and should
only be used if you are already using a valid COMPRESS.CFG for another
program such as SQUISH. In most cases you should comment this command
out, and place COMPRESS.CFG in the same directory as this file
(ARCDOC.CFG).
ArcFilePath <d:\path>
DOS path for ArcDoctor to find files that are to be scanned/converted.
If the parent directory is denoted as a dot ("."), ArcDoctor will
expect any subsequent directories to be sub-directories of the directory
which ArcDoctor was executed from. This command should be commented out
in most cases. If this command is commented out ArcDoctor will scan
all files the directory from which ArcDoctor was executed, thus any
directory on the computer may be processed by ArcDoctor. Un-commenting
this keyword will force ArcDoctor to run in the declared directory any
time ArcDoctor is executed.
WorkPath <[d:\][path]>
Full DOS path for ArcDoctor to Scan and convert archives in. A RAM
drive is recommended. ArcDoctor will create a temporary sub-directory
under this path to work in. If commented out, ArcDoctor will default
to the current directory - creating the temporary directory as a sub-
directory of the directory in which ArcDoctor was executed.
ArcDoctor will remove this directory after operation, *IF* it is not
interrupted.
Page 5
ArcDoc.Cfg (cont.)
------------------
ConvtDefault <Archiver Name>
Default Archiver to convert all other archives to. This string must
match the declaration following the keyword "Archiver" in COMPRESS.CFG
in order for any conversions to take place.
BadFilesDir <[d:]\path>
Path to place Archives that fail testing, so you may later look at them.
Note: you should not use this command and KillBadFiles. This directory
need not exist - should a file fail processing, and this keyword active,
ArcDoctor will create this directory if it does not exist.
KillBadFiles
This keyword instructs ArcDoctor to delete files that fail testing.
Note: You should not use this command and BadFilesDir.
ScanCommand <virus utility>
Default Virus scanning utility. Usually McAfee's SCAN.EXE
Note: If not declared, no virus checking will take place.
SCAN.EXE is recommended - the DOS error levels for SCAN.EXE are hard coded
into ArcDoctor. Should you use a different virus detection utility, be
sure it will exit with a DOS errorlevel=1, or ArcDoctor may not intercept
an infected file correctly. The following are intercepted by ArcDoctor:
ERRORLEVEL 0 ... No viruses found.
ERRORLEVEL 1 ... One or more viruses found.
ERRORLEVEL 2 ... Abnormal termination (program error).
ERRORLEVEL 3 ... One or more uncertified files found.
SCAN.EXE (or your virus scanning utility) must reside in your DOS path
in order for ArcDoctor to execute your virus utility.
eg... ScanCommand scan.exe
ScanParams <optional parameters>
Optional parameters to pass to "ScanCommand". If not declared, no
parameters will be passed to virus checker. If ScanCommand is not
declared, this option will have no effect. eg... ScanParams /nomem /nopause
Page 6
ArcDoc.Cfg (cont.)
------------------
AddArcCmt <d:\path\filename>
Enabling this command is only useful if you use ZIP or ARJ as your default
archiver. The parameter to this command is the full <drive:\path\filename>
to an ASCII text file, which will be displayed on-screen when un-archiving
occurs. eg... AddArcCmt c:\slbbs\sldir.txt
StripArcCmt
Tells ArcDoctor to remove archive Comments from all ARJ and ZIP files
being processed. Not recommended if AddArcCmt is enabled - it won't
hurt anything, but it will slow down processing. If you have selected
a default archiver other than ARJ or ZIP, there is no need for this
command, as all ARJ and ZIP files will be converted to your default
archive format. eg... StripArcCmt
SkipFiles <ext><,ext<,ext><,ext><,ext><,ext>
This command will force ArcDoctor to ignore files with the declared
extensions. By default, ArcDoctor tries to un-arc all files in the
current directory -or- ArcFilePath. ArcDoctor can un-archive any archived
file, provided the archiver is declared properly inside COMPRESS.CFG.
ArcDoctor will first check the files extension, if it matches a declared
extension in COMPRESS.CFG, ArcDoctor will then verify the archive format
if a match fails, ArcDoctor will try to determine the files true format.
If a format is found, ArcDoctor will open the archive. eg... you get a
file called SAMPLE.ARJ, but it is really a misnamed ZIP file, ArcDoctor
will be able to open it. All extensions not declared on this line are
evaluated for valid archive formats. Each extension declared must be
separated by a comma "," and there must be no spaces in the list of
extensions. NOTE: This keyword will have no effect on the keyword
"ScanCommand". eg... SkipFiles gif,com,ans,txt,doc,lst,sys,bat
StripTdComs
This command tells ArcDoctor to check all .COM files in archives to
see if they are ANSI COM files created by TheDraw... If any are found,
they will be stripped (deleted) from the archive. This command will have
no effect on COM files that are not within archives. eg... StripTdComs
Page 7
ArcDoc.Cfg (cont.)
------------------
StripFilesInArc <filename><,filename><,filename><,filename>
StripFilesInArc @<d:\path\filename>
Files listed in this command will be removed from archives if they exist.
Wild cards are excepted, so be CAREFUL!! <Grin>... *.EXE in this command
will delete *ALL* executable files in processed archives! Recursive
declarations of this command are valid. you may declare up to 100 file
names to strip from processed archives. Either of the two following
formats for this command are valid:
1) A comma "," is used to separate file names, there should be no
spaces between file names:
2) You may use the "@<filename>" declaration if you choose to keep a
separate ASCII text file listing file names to be stripped. The
accepted standard for this file format is one file name per line
eg...
StripFilesInArc Autoexec.*,config.sys,pkzip.exe,pkunzip.exe
- and/or -
StripFilesInArc @c:\data\killfile.lst
AddFilesToArc <[d:]\path\filename><,[d:]\path\filename><,[d:]\pa . . .
AddFilesToArc @<[d:]\path\filename>
This keyword instructs ArcDoctor to do just the opposite of
StripFilesInArc - All processed archives will have the declared files
inserted into the archive. You may use either of the declaration
formats accepted by StripFilesInArc, with only a slight modification:
the file names must include the full DOS path where the files may be
located. eg...
AddFilesToArc c:\tp6\arc\synergy.com,c:\tp6\arc\vote.com
- and/or -
AddFilesToArc @c:\data\insert.lst
RefuseU/L <filename><,filename><,filename><,filename>
RefuseU/L @<[d:]\path\filename>
This command will allow you to refuse any files you do not want.
Once uploaded, any matching files will be truncated prior to processing.
Note: this will not effect any files inside any archives. This keyword
uses the same command structure as StripFilesInArc: eg...
RefuseU/L *.BAT,*.CFG,*.SYS,*.GIF,*.MNU,CONFIG.*
- and/or -
RefuseU/L @c:\data\refuse.lst
Page 8
ArcDoc.Cfg (cont.)
------------------
RefuseDate <Year>
Allows you to refuse files dated older that the specified year. This
will not affect files within archives - if activated, this function will
check the DOS file dates and delete any files that are older than the
specified year prior to any other processing. There is one exception to
this - if a file is stamped with 1980 as the year, it is assumed that the
system which created the archive has a non-functioning clock, therefore
ArcDoctor will not delete any file stamped with 1980 as the year. eg...
RefuseDate 1987
LogActivity
Enables detailed ArcDoctor Journal. ARCDOC.LOG (if created) may be found
in the same directory in which you keep this file (ARCDOC.CFG).
SysopMail
Enables the sysop mail function. The first parameter should be either
Bad -or- All. "Bad" only sends sysop mail when a file fails testing,
"All" sends the Sysop mail after every transaction. You must have a
command-line utility to send sysop mail in order for this feature to
work. ArcDoctor will create a temporary file and insert this file name
in place of the "%l"... it is up to you to provide a valid command-line
following the "@" sign for this feature to work.
**** This feature is not yet implemented. ****
Coming in version 1.0
Page 9
Configuration Files Guide (cont.)
---------------------------------
Compress.Cfg
------------
As distributed Compress.Cfg comes configured for use with PKARC, PKZIP, PAK,
ZOO, ARJ and LHA. This will allow Arcdoctor to work with ARC, ZIP, PAK, SDN,
ZOO, ARJ, LZH and ICE archive formats.
COMPRESS.CFG is divided into records, one for each archive engine. ArcDoctor
will accept up to 20 records in Compress.Cfg (20 different archivers).
The format for each record is as follows:
Archiver <name>
Extension <ext>
Ident <position>,<hex string>
Add <command to add files to archive>
Extract <command to extract files from archive>
View <command to view list of files in archive>
End Archiver
Compress.Cfg KeyWords
---------------------
"Archiver" begins the declaration of an archive engine record.
<name> is a short user-definable string that is used
to cross-reference the declared record by programs that
use Compress.Cfg. The "name" should contain no embedded
spaces, nor should it be longer than 8 characters long.
"Extension" declares the default extension provided to the archived
files by the declared archive engine. This is used to
help facilitate a speedier verification of the archives
true format.
"Ident" is used to verify an archive's true archive engine. It
is also used to determine an archive format if a file is
missing an extension or has been misnamed by the uploader.
<position> tells the program that is processing the archive
where to look for the archiver's signature. If <position>
is greater than or equal to zero then ArcDoctor will first
read in <position> bytes from the beginning of the file, the
check for the archiver's signature. If <position> is less
than zero (negative) then ArcDoctor will read into the file
<filesize> + <position> then look for the archive's signature.
eg... the file is 359,000 bytes in size, <position>= -2 then
359,000 +(-2) = 358,998 or ArcDoctor will read the first
358,998 bytes of the file, then start looking for the signature
on the 358,999th byte. Thus -2 really means 1 byte from the
end of the file. Respectively, if <position>=0 then the first
byte of the file is the beginning of the signature.
Page 10
Compress.Cfg (cont.)
---------------------
<hex string> is the actual signature of the archive engine,
located at <position> in the archive. Since most archivers
use special control characters in their signature, the only
reliable way to pass this information on to a program using
Compress.Cfg is to use the hexadecimal equivalent of the ASCII
character - thus each character in a signature must be
represented by the two hex numbers (0-F) that represent the
actual character.
"Add", "Extract" and "View" specify the actual commands for the declared
archive engine. At the present time, ArcDoctor does not use
the "View" keyword, but to ensure that this file remains
compatible with other programs that may use Compress.Cfg you
should be sure to define "View" for any archive engines that
you may add to Compress.Cfg. Use %a to declare the archive's
name, and %f to declare add/extract/view file names.
"End Archiver" signifies the end of an archive engine record.
Each "Archiver" keyword must be followed by the "End Archiver"
keyword to end the declaration of the archive engine record.
Please note that in order to limit the number of falsely identified archive
formats it is important to declare PAK before ARC. PAK uses the same 1st
byte signature as ARC, but also uses an additional signature byte at the end
of the archive. ArcDoctor reads Compress.Cfg on record at a time, if a match
is found, then a file is presumed to be an archive of the matched archive
engine. Thus if ARC is declared before PAK, PAK files will be identified as
ARC files and all processing on that archive will fail.
Page 11
Configuration Files Guide (cont.)
---------------------------------
ErrorLev.Def
------------
It was the original idea to have all files that fail unpacking be rejected
as bad files. It soon became apparent that taking that approach was not
feasible due to the many different types of errors encountered by different
archive engines. Most notable, was the problem ARJ constantly had with
running out of memory while trying to create archives of a minimum size.
This was only noticed with ARJ, and only while test-running ArcDoctor code
from within the compiler. The problem was foreseen - ArcDoctor truncating
perfectly good ARJ archives due to a lack of memory on the host system.
This would not have happened if ArcDoctor where setup to place all BadFiles
in a bad files directory, but to be on the safe side a new approach was taken.
ErrorLev.Def was created primarily for the above purpose, but it also seemed
to be just the answer to enhance the error reporting abilities of ArcDoctor.
A field was added that will allow you to have a particular string reported
to the CRT, Log, and MSG file, should an error occur. Though Compress.Cfg
was designed in such a way that such additional data could have been added
to it with no adverse results to other programs that use Compress.Cfg - if
they where properly coded. The safe path was chosen: a separate file.
Creating this additional file has another merit: Since the information in
this file is only needed if an error occurs, this file is not processed
unless an error occurs. On the other hand, Compress.Cfg is read into an
array in memory at the initialization of ArcDoctor.
ERRORLEV.DEF is divided into records, one for each archive engine. The format
and most keywords where borrowed from Compress.Cfg. ErrorLev.Def should start
out with the keyword "NotDeclared". Due to different archive engines working
in different ways, two different styles of records where designed:
The first field should be the "NotDeclared" keyword:
NotDeclared <action>
The format of the first type of record is as follows:
Archiver <name>
Add
<errorlev>;<action> <response string>
.
.
.
Extract
<errorlev>;<action> <response string>
.
.
.
End Archiver
Page 12
ErrorLev.Def (cont.)
---------------------
The format of the second type of record is as follows:
Archiver <name>
All
<errorlev>;<action> <response string>
.
.
.
End Archiver
KeyWords
--------
"NotDeclared" keyword is used to declare a default action to take if an
errorlevel that is not declared is reported by an archive
engine.
<action> in all cases of this file is either "Ignore" or "Reject".
Actually, only the first letter of "Ignore" and "Reject" is
read by ArcDoctor. Thus "R" is just as valid as "Reject",
and "I" is just as valid as "Ignore". All errors will be
recorded, regardless of your <action> setting, but whether
a particular error is treated as a bad file is solely
dependent on the <action> declaration.
"Archiver" begins the declaration of an archive engine record. <name> is
a short user-definable string that is used to cross-reference
the declared record by programs that use Compress.Cfg. The
"name" should contain no embedded spaces, nor should it be
longer than 8 characters long.
"Add" and "Extract" are used to begin sub-records of errorlevels specific
to archiving and un-archiving respectively. To the best of my
knowledge PKZIP and PKUNZIP are the only archivers currently on
the market that will use this type of record - they have two
different sets of errorlevels. PKARC and PKXARC may have a
similar scheme, being that ZIP and PKARC are from the same author,
and they both use separate engines for archiving and un-archiving,
but I could only find a set of errorlevels for PKXARC, thus I must
assume that PKARC uses the same errorlevels as PKXARC. If you know
different, please inform me of the correct errorlevels for PKARC.
"All" begins a generic sub-record of errorlevels for archive engines
that use the errorlevels for both archiving and un-archiving.
Page 13
ErrorLev.Def (cont.)
---------------------
After "Add", "Extract", and "All", but before the next keyword declaration
you need to declare each errorlevel that might occur for each archive engine
in use the format for this is as follows:
<errorlev>;<action> <response string>
<errorlev> is the actual response number reported by the archive engine.
<action> follows <errorlev> with a semi-colon separating the two
fields. Remember: I(gnore) and R(eject) are the two
valid <action> responses.
<response string> is simply a string of text that will be reported to
your CRT, Log, and MSG file by the ArcDoctor, should an
error occur with an archive engine. This string should be
limited to 60 characters in length - spaces included.
"End Archiver" each archive engine's errorlevel record must end with
this keyword.
Page 14
Using ArcDoctor with your Tele-Com program
------------------------------------------
To automatically scan all of your downloads for viruses, and do whatever else
you wish to do while processing your downloads every time you exit your
com program follow these instructions:
1) Edit ArcDoc.Cfg to suit your needs.
2) Create a temporary holding directory for unprocessed downloads. For
this example we will use the directory name "C:\COM\NEWIN". To do
this use the DOS command: MD C:\COM\NEWIN
3) Create a directory to hold all of your processed downloads. For this
example we will use the name "C:\COM\XFER". To do this use the DOS
command: MD C:\COM\XFER
4) Modify your com programs default download directory so that all
downloads get put in the "NEWIN" directory.
5) Assuming your com program is in a directory named "C:\COM", with your
favorite ASCII text editor create the following batch file, or append
to the end of your existing com program batch file:
@echo off
c:
cd\com
<command to start your com program>
cd\com\newin
arcdoc
copy *.* c:\com\xfer >nul
echo Y | del *.* >nul
cd\
If you place this batch file in your DOS path, you will then be able to call
your Tele-Com program from any drive or directory on your computer.
You may need to edit the path statements to suit your system's setup. The
forth line should contain the name of the executable file that starts your
com program, eg... for Telemate us "TM", for Telix use "TELIX", for Qmodem
use "QMODEM", etc... If you are currently using a batch file for your com
program, you may, in lieu of the executable name, use the following:
CALL <batch file name>.
By using the example batch file above your computer will:
1) Change drives and directories to where your Tele-Com program is.
2) Run your Tele-Com program - business as usual.
3) If you downloaded anything while in your Tele-Com program, your
download will be processed.
4) Copy the processed downloads to a directory where you can rest assured
that all files in that directory have been scanned for viruses.
5) Clean up the temporary download directory so it is ready for your next
downloading session.
6) the last line will return you to the "C:\>" prompt when everything is done.
Page 15
Using ArcDoctor with a Bulletin Board System
--------------------------------------------
Once you have edited ArcDoc.Cfg to suite your needs, use the following section
for reference and ideas of how to best implement ArcDoctor on your system.
Using ArcDoctor with Searchlight BBS
------------------------------------
From your configuration program select:
General Configuration/AutoDoors/Upload AutoDoor
Use the following settings, of course #1 will need to reflect the path where
you setup ArcDoctor. If you are Running a multi-node version of Searchlight
and using separate CONFIG.SL2 files for each node, you will need to repeat
this process for all nodes.
Upload Autodoor
1. Command ....................... C:\UTILS\ARCDOC.EXE
2. Directory Path ................ .\UPLOADS.BBS
3. Communications Support ........ Standard
4. Abort Method .................. None
5. Write Protection .............. No
Using ArcDoctor with non-Searchlight BBS'
----------------------------------------
Though ArcDoctor does not have it's own com routines built-in at this time,
if the request level from registered users is high enough, it may be added
in the near future. ArcDoctor uses BIOS video calls for all video output,
so if your BBS is capable of re-directing video output through the modem,
you should have no problem setting up ArcDoctor so your users can see what
is going on during processing. If your system does not support redirecting
video output, you may use a program such as DOORWAY to do this for you.
How you may install ArcDoctor is only limited by your imagination.
One of the beta test sights has setup ArcDoctor so it may be used by a
files potential downloader so that he may verify that a file before d/ling.
Another system, using a file transfer door runs ArcDoctor between the
files door system and the main BBS with DOORWAY.
ArcDoctor is also being used in a batch file that cycles between the BBS
and a mailer front end.
Some file transfer doors and BBS systems support a virus scanning program
after each upload - this is the best place to setup ArcDoctor.
If you use batch files for your file transfer protocols you may insert the
ArcDoctor command-line in your d/l protocol batch files.
Page 16
Using the VSETARCD Utility
--------------------------
This stand-alone utility is a temporary solution for configuration
verification. Soon, VSETARCD (View Settings ArcDoctor) will be integrated
into a new configuration program (ADSETUP?), ARCDOC.CFG will no longer
require manual editing from an external editor. But until I get around
to the fancy setup program, this will have to do <Grin>.
It is highly recommended that you run this utility after every time you edit
ARCDOC.CFG. VSETARCD will read your ARCDOC.CFG file and COMPRESS.CFG into
memory, verify all file names, paths, and utilities declared in the above
two files.
If there should be an invalid statement that may cause problems with the
operation of ArcDoctor, you will be notified of the problem. For the
declared archive engines in COMPRESS.CFG, you will see a list of available
archive engines. If one of the archive engines is not found in your DOS
path, it's name will be preceded with an Asterisk "*".
Please be sure to use this program, and verify all of your entries...
The results could be hazardous to your uploads should you do something
stupid like enter "*.*" for a StripFile name or RefuseU/L name <Grin>.
Page 17
Using the ADFLAVOR Utility
--------------------------
We used a less-than-efficient upload file processor on Flamingo BBS...
I tried out several and they all seemed to have there problems. It was
after much frustration with such programs that I decided to write ArcDoctor.
At any rate, by the time ArcDoctor was On-Line, we had a huge assortment of
archives of different flavors (ZIP, LZH, ARJ, ARC, PAK, etc...).
One of the first things I wanted to do was convert all of the archives to
my chosen default. This presented a problem: Once a file was converted,
it carried a different extension, thus the file name listed in the BBS did
not match the actual file name - The BBS would report that a converted file
didn't exist, since the name in the data base was not to be found on the
hard drive.
ADFLAVOR will process any file, whether it be a compiled data file, as
with Searchlight BBS or WildCat! BBS systems, or an ASCII text file such
as the common FILES.BBS or the PC Board directory files.
When initializing, ADFLAVOR will read ARCDOC.CFG to see what you have
chosen as your default archiver, then read COMPRESS.CFG to see what
archive formats are available to you. You will be asked a few simple
questions, then ADFLAVOR will process your directory data file - renaming
all extension that are of a declared archive type to your default archiver's
extension. Special care has been take for binary files, so embedded EOF
markers will not effect ADFLAVOR's operation. ADFLAVOR will make a backup
of your original data file before in begins processing - this backup will
retain it's original filename but have a new extension: ".OLD".
Though I have done much to ensure this program is fail-safe, I recommend
that you first verify the results of the new data file before deleting the
"xxxxx.OLD" file.
It is this program that will evolve into the user interface for ArcDoctor.
Future releases will incorporate a configuration editor with range checking
such as that which is supplied by VSETARCD at the present.
Page 18
I N D E X
---------
Action, 2, 11, 12, 13 LOG, 8, 11, 13
Add, 9, 10, 11, 12, 13 LogActivity, 8
AddArcCmt, 6 LZH, 1, 9, 17
AddFilesToArc, 7 Mail, 2, 3, 8
ADFLAVOR, 2, 17 NEWIN, 14
ADSETUP, 16 Nomem, 5
ArcDataPath, 4 Nopause, 5
ARCDOC.CFG, 2, 4 NotDeclared, 11, 12
ARCDOC.EXE, 2 PAK, 1, 3, 9, 10, 17
ArcFilePath, 4, 6 PKARC, 9, 12
AutoDoors, 15 PKUNZIP, 1, 7, 12
Autoexec, 7 PKXARC, 12
BadFiles, 11 PKZIP, 1, 7, 9, 12
BadFilesDir, 5 Position, 9
BIOS, 15 RAM, 3, 4
COMPRESS.CFG, 2, 9 RefuseDate, 8
Conversions, 2, 5 RefuseU/L, 7
CRC, 15 Rejected, 11
CRT, 11, 13 ScanCommand, 5, 6
Debugging, 2 ScanParams, 5
End Archiver, 9, 10, 11, 12, 13 SDN, 9
Errorlevel, 2, 5, 12, 13 Signature, 9, 10
ERRORLEV.DEF, 2, 11 SkipFiles, 6
Hexadecimal, 10 StripArcCmt, 6
ICE, 1, 9 StripFile, 16
Ident, 9 StripFilesInArc, 7
Ignore, 6, 12 StripTdComs, 6
JPEG, 1 SysopMail, 8
KeyWord, 3, 4, 5, 6, 7, 9, 10, VSETARCD, 2, 3, 16, 17
11, 12, 13 WorkPath, 4
KillBadFiles, 5 ZIP, 3, 6, 9, 12, 17
LHA, 1, 3, 9 ZOO, 1, 3, 9
Page 19
Bug Reports and Suggestions
--------------------------
If you encounter what you believe to be a bug in ArcDoctor, Please contact
me via one of the sources listed on the cover page of this document.
The following information will help to determine the actual problem:
1) The Name and Version of the program that had the error. eg...
ArcDoctor v0.96
2) If the error is a "Runtime error", the error number, and it's address.
3) A copy of your ARCDOC.LOG and ARCDOC.CFG.
4) If you have suspicions of an archive being the culprit, a copy of the
suspect file would also be helpful.
4) A description of what happened, anything unusual that you noticed, etc..
5) Your voice phone number (if possible), so I may contact you should I
need more information.
If you have a suggestion for something you would like to see added, please
feel free to drop me a line. I am always looking for ways to improve my
software.
ArcDoctor Single-Site Registration Form
---------------------------------------
Please fill out this form fully, as I will need the herein contained
information to create your personal ARCDOC.KEY file and for my records.
Name ......... __________________________________
Company/BBS .. __________________________________
Street ....... __________________________________
City, St ..... __________________________________
Zipcode ...... __________________________________
BBS/Date phone number . _____ - _____ - ________
Voice phone number .... _____ - _____ - ________
FidoNet Address (if available)... _______________
Password to use on Flamingo BBS ________________
You need to select a form of delivery, the charge for delivery will only
be charged one time, regardless of the number of keys being ordered.
Please Check one:
____ I'll call Flamingo BBS an download my ARCDOC.KEY (Free)
____ Call my BBS and upload my ARCDOC.KEY ($5.00)*** USA only ***
____ I'm in the FidoNet nodelist and my system will ($1.00)*** USA only ***
accept front end uploads, freq the file to me
____ Send me the latest version of ArcDoctor on a ($5.00 USA)
____ 3½" diskette ($10.00 US dollars, for
____ 5¼" diskette foreign orders)
along with my ARCDOC.KEY
For personal checks please allow 3 weeks for your check to clear the bank,
and processing/mail time. Money orders will be shipped the next day,
provided I am in town.
Make all checks payable to: Ron Ryan
Introductory Offer:
Single-Site Registration $15.00
10 or more $AVE $10.00
Per-Unit Price $_______ x Quantity ______ = $ __________
Delivery charge as selected above ........... $ __________
Total ....................................... $ __________
Please mail check or money order and completed application to:
Ron Ryan If you selected to call Flamingo BBS
ArcDoctor and pickup your ARCDOC.KEY, please
1061 Ellen Ct. allow sufficient time for your check
Melbourne, Fla. 32935 to clear the bank then call: (407) 253-0782
N/8/1
1200-16.8k BPS